/*
======================================
Kernel startup code
======================================
*/
#include "DebugDisplay.h"

void _cdecl main () {

	int i = 25;
	int z = 18;

	DebugClrScr(0x18);
	DebugGotoXY(8,4);
	DebugSetColor(0x17);
	DebugPrintf("===============================================\n");
	DebugPrintf("= Squadix OS 32Bit Valhalla Kernel Executing! =\n");
	DebugPrintf("===============================================\n\n");

	DebugSetColor(0x1F);	
	DebugPrintf("\nTesting hex and integer conversion functions..");

	DebugSetColor(0x12);
	DebugPrintf("\ni as integer :");
	DebugPrintf("\ni in hex     :");
	DebugPrintf("\nz as integer :");
	DebugPrintf("\nz in hex     :");

	DebugGotoXY(25,9);
	DebugSetColor(0x1F);
	DebugPrintf("\n[%i]",i);
	DebugPrintf("\n[0x%x]",i);
	DebugPrintf("\n[%i]",z);
	DebugPrintf("\n[0x%x]",z);

	DebugGotoXY(8,16);
	DebugSetColor(0x1F);
	DebugPrintf("\n\nBusy loading...");

}

